package cn.com.wdjedu.androidapp.wjeduandroid.ui.videoshow.adpter;

import android.content.Context;

import com.zhy.adapter.abslistview.CommonAdapter;
import com.zhy.adapter.abslistview.ViewHolder;

import java.util.List;

import cn.com.wdjedu.androidapp.wjeduandroid.R;
import cn.com.wdjedu.androidapp.wjeduandroid.ui.videoshow.bean.QuestBean;

/**
 * Created by CCY on 2017/2/17.
 */
/**
 * 问答子图示的适配器
 */

public class SubQuestFragmentAdapter extends CommonAdapter<QuestBean.SubQuest> {

    public SubQuestFragmentAdapter(Context context, int layoutId, List<QuestBean.SubQuest> datas) {
        super(context, layoutId, datas);
    }

    @Override
    protected void convert(ViewHolder viewHolder, QuestBean.SubQuest item, int position) {
        viewHolder.setText(R.id.item_quest_ans,item.getAnswer());

    }

}
